package com.lemon.reggie.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class OrderPageVO implements Serializable {

    private static final long serialVersionUID = 319895184349205425L;
    @ApiModelProperty(value = "订单id")
    private Long id;

    @ApiModelProperty(value = "订单号")
    private String number;

    @ApiModelProperty(value = "订单状态 1待付款，2待派送，3已派送，4已完成，5已取消")
    private Integer status;

    @ApiModelProperty(value = "下单用户")
    private Long userId;

    @ApiModelProperty(value = "下单用户名")
    private String userName;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "地址id")
    private Long addressBookId;

    @ApiModelProperty(value = "详情地址")
    private String address;

    @ApiModelProperty(value = "实收金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "下单时间")
    private LocalDateTime orderTime;

}
